/**
 * 
 */
package com.dream.house.entity;


/**
 * 房源信息
 * @author ahk
 * @since 1.0
 */
public class RoomDTO extends AbstractDTO {
	private static final long serialVersionUID = 1L;
	
	private String room_id;//房源ID
	private String build_id;//所属楼信息
	private String group_id;//所属部门
	private String group_name;//所属部门
	
	private String status;//房子使用状态：0-未使用，1-已购买，2-已租赁
	private String room_type;//房源性质：1-经济使用房，2-租赁房，3-商品房，4-房改房
	private String room_unit;//单元
	private String layer;//楼层
	private String room_no;//房号
	private String face;//朝向
	private String build_area;//筑建面积
	private String test_area;//测量面积
	private String layout;//户型
	private String cqbl;//产权比例
	private String stand_price;//标准价格
	private String bbl;//补比例
	private String wyjj;//物业基金
	private String sfct;//是否成套：0-不成套，1-成套
	private String sftz;//是否提租 0-不提租，1-提租
	private String memo;//备注
	
	private String check_status;//审批状态：0-未审批，1-未通过，9-已入库，5-入库锁定
	private String checker;//审批人
	private String check_date;//审批时间
	
	private String create_date;
	private String create_user;
	private String modify_user;
	private String modify_date;
	
	private BuyDTO buy;//购买信息
	private RentDTO rent;//租赁信息
	
	private BuildDTO build;//楼信息

	
	public BuildDTO getBuild() {
		return build;
	}

	public void setBuild(BuildDTO build) {
		this.build = build;
	}

	public String getGroup_name() {
		return group_name;
	}

	public void setGroup_name(String group_name) {
		this.group_name = group_name;
	}

	/**检查房子是否被锁定,如锁定则不能申请（购房、租房）*/
	public boolean isLocked(){
		return this.getCheck_status().equalsIgnoreCase("5");
	}
	
	public BuyDTO getBuy() {
		return buy;
	}
	public void setBuy(BuyDTO buy) {
		this.buy = buy;
	}
	public RentDTO getRent() {
		return rent;
	}
	public void setRent(RentDTO rent) {
		this.rent = rent;
	}
	public String getRoom_id() {
		return room_id;
	}
	public void setRoom_id(String room_id) {
		this.room_id = room_id;
	}
	public String getBuild_id() {
		return build_id;
	}
	public void setBuild_id(String build_id) {
		this.build_id = build_id;
	}
	public String getGroup_id() {
		return group_id;
	}
	public void setGroup_id(String group_id) {
		this.group_id = group_id;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRoom_type() {
		return room_type;
	}
	public void setRoom_type(String room_type) {
		this.room_type = room_type;
	}
	public String getRoom_unit() {
		return room_unit;
	}
	public void setRoom_unit(String room_unit) {
		this.room_unit = room_unit;
	}
	public String getLayer() {
		return layer;
	}
	public void setLayer(String layer) {
		this.layer = layer;
	}
	public String getRoom_no() {
		return room_no;
	}
	public void setRoom_no(String room_no) {
		this.room_no = room_no;
	}
	public String getFace() {
		return face;
	}
	public void setFace(String face) {
		this.face = face;
	}
	public String getBuild_area() {
		return build_area;
	}
	public void setBuild_area(String build_area) {
		this.build_area = build_area;
	}
	public String getTest_area() {
		return test_area;
	}
	public void setTest_area(String test_area) {
		this.test_area = test_area;
	}
	public String getLayout() {
		return layout;
	}
	public void setLayout(String layout) {
		this.layout = layout;
	}
	public String getCqbl() {
		return cqbl;
	}
	public void setCqbl(String cqbl) {
		this.cqbl = cqbl;
	}
	public String getStand_price() {
		return stand_price;
	}
	public void setStand_price(String stand_price) {
		this.stand_price = stand_price;
	}
	public String getBbl() {
		return bbl;
	}
	public void setBbl(String bbl) {
		this.bbl = bbl;
	}
	public String getWyjj() {
		return wyjj;
	}
	public void setWyjj(String wyjj) {
		this.wyjj = wyjj;
	}
	public String getSfct() {
		return sfct;
	}
	public void setSfct(String sfct) {
		this.sfct = sfct;
	}
	public String getSftz() {
		return sftz;
	}
	public void setSftz(String sftz) {
		this.sftz = sftz;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getCheck_status() {
		return check_status;
	}
	public void setCheck_status(String check_status) {
		this.check_status = check_status;
	}
	public String getChecker() {
		return checker;
	}
	public void setChecker(String checker) {
		this.checker = checker;
	}
	public String getCheck_date() {
		return check_date;
	}
	public void setCheck_date(String check_date) {
		this.check_date = check_date;
	}
	public String getCreate_date() {
		return create_date;
	}
	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}
	public String getCreate_user() {
		return create_user;
	}
	public void setCreate_user(String create_user) {
		this.create_user = create_user;
	}
	public String getModify_user() {
		return modify_user;
	}
	public void setModify_user(String modify_user) {
		this.modify_user = modify_user;
	}
	public String getModify_date() {
		return modify_date;
	}
	public void setModify_date(String modify_date) {
		this.modify_date = modify_date;
	}
	
}
